
public class Inheritance {
	
	public static void main(String[] args) {
		Ferrari italy = new Ferrari(true,-16,"ITALY",7777);
		Ferrari italy2 = new Ferrari(true,-16,"ITAL",7777);
		Person p = new Person();
		SportsCar buggati = new SportsCar(true, 768000.5);
		Bus vw = new Bus(-5, -10);
		//Hummer hummer = new Hummer(true,null);
//		
		System.out.println(italy.equals(p));
//		System.out.println(vw.getPlaceForLuggage());
//		System.out.println(vw.getNumberOfDoors());
//		
//		vw.setModel("VW GOLF BUS");
//		System.out.println(vw);
//		
//		italy.setIdNumber(711454);
//		italy.setModel("Italy");
//		System.out.println(italy.getModel());
//		
//		System.out.println();
//		buggati.startEngine();
//		System.out.println();
//		
//		System.out.println(italy);
//		italy.accelerate(750);
//		italy.changeOwner(new Person("Gosho",19));
//		italy.changeGear(5);
//		italy.driveLikeCrazy();
//		System.out.println();
//		
////		hummer.driveOffRoad();
////		hummer.beBulletProof();
//		
//		System.out.println(italy.isSportsCar);
		
		
		Car c = new Car();
		c.startEngine();
		SportsCar sp = new SportsCar(true, 0);
		sp.startEngine();
		italy.startEngine();
		
		
		
		//vw.transport();
		
	}
	
	
	
}
